package com.starnet.yarnmonitor.yarn.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.starnet.yarnmonitor.yarn.vo.YarnWarnOptionVO;
import com.starnet.yarnmonitor.yarn.vo.param.YarnWarnOptionAddParam;
import com.starnet.yarnmonitor.yarn.vo.param.YarnWarnOptionUpdateParam;
import com.starnet.yarnmonitor.yarn.entity.YarnWarnOption;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 陈佳豪
 * @since 2022-04-24
 */
public interface YarnWarnOptionService extends IService<YarnWarnOption> {

    IPage<YarnWarnOptionVO> getAllOptions(Integer cur, Integer size);

    void addNewOptions(YarnWarnOptionAddParam yarnWarnOptionAddParam);

    void deleteOptionById(Long id);

    void updateOption(YarnWarnOptionUpdateParam yarnWarnOptionUpdateParam);
}
